package com.d0305.Z05;


import java.util.Scanner;

public class Rabbit {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int []a=new int[12];
        a[0]=1;
        a[1]=1;
        int i;
        System.out.println("第1个月"+a[0]*2+"只兔子");
        System.out.println("第2个月"+a[1]*2+"只兔子");
        for(i=2;i<a.length;i++){
            a[i]=a[i-1]+a[i-2];
            System.out.println("第"+(i+1)+"个月"+a[i]*2+"只兔子");
        }

    }
}
